![]() |
PBDeleteObjectSync |
||||
Header: | Files.h | Carbon status: | Supported | |
Deletes a file or an empty directory.
OSErr PBDeleteObjectSync ( FSRefParam *paramBlock );
A pointer to a parameter block.
A result code.
The relevant fields of the parameter block are:
On input, a pointer to a completion routine.
On output, the result code of the function.
On input, the file or directory to be deleted. If the object to be deleted is a directory, it must be empty (it must contain no files or folders).
Supported in Carbon. Available in Mac OS 9, and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)